import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_bill_list_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeBillListEntity {
	late int code;
	late List<HomeBillListObj> obj;
	late String msg;

	HomeBillListEntity();

	factory HomeBillListEntity.fromJson(Map<String, dynamic> json) => $HomeBillListEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeBillListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class HomeBillListObj {
	late int month;
	late double money;

	HomeBillListObj();

	factory HomeBillListObj.fromJson(Map<String, dynamic> json) => $HomeBillListObjFromJson(json);

	Map<String, dynamic> toJson() => $HomeBillListObjToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}